Changing Java’s auto-retry HTTP POST behavior
To prevent external Java applications from making calls to the Web Services Server listener processes, you should set the Retry HTTP POST property on the Properties panel.
Some users observed that external Java applications were making calls to Web Services Server listener processes. Therefore those processes were executing twice on their Runtime, Runtime cluster, or private runtime cloud. The initial attempt to call the Web Services Server listener processes was not being recorded in the shared HTTP server logs.
By default and in certain scenarios, Java automatically retries HTTP POST calls. This retry was disabled for all new Runtime installations as of the November 2014 release because most users do not want this behavior.
To disable Java’s automatic retry behavior on Runtimes, Runtime clusters, or runtime clouds installed prior to the November 2014 release, or to enable this behavior on Runtimes, Runtime clusters, or runtime clouds installed after the November 2014 release, follow these steps:
Procedure
-
Go to Manage > Runtime Management.
-
Select the Runtime, Runtime cluster, or runtime cloud from the list.
-
In Settings & Configuration, click Properties.
The Runtime Properties or Runtime cluster Properties panel opens.
-
Click the Advanced tab.
-
If the Runtime, Runtime cluster, or Cloud was installed before the November 2014 release, disable Java’s automatic retry behavior by doing the following:
-
Select the Retry HTTP Post property (
-Dsun.net.http.retryPost) and clickAdd a Property.
-
Leave its Property Value check box turned off.
noteIf the Runtime, Runtime cluster, or Cloud was installed after the November 2014 release, the Retry HTTP Post property is already disabled
-
-
Optional: If you want to restore Java’s automatic retry behavior, select the Property Value check box for Retry HTTP Post.
-
Click Save.
Because changes to this property do not take effect until the Runtime, Runtime cluster, or runtime cloud is restarted, you are prompted to restart. You have the option to restart now or restart later.